﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/RedesignedMaster.Master" Inherits="System.Web.Mvc.ViewPage<final_darskade.Models.user>" %>

<asp:Content ID = "breadcrumbs" ContentPlaceHolderID = "Breadcrumbs" runat = "server">
    <a href = "/">صفحه اصلی</a> > <a href = "/contactManagement/">مدیریت کاربران</a> > <a href = "/contactManagement/Create">ثبت کاربر جدید</a>
</asp:Content>

<asp:Content ID = "mainContent" ContentPlaceHolderID = "MainContent" runat = "server">
    <div>
        <form id = "createform" method = "post" class ="validateform">
            <fieldset>
                <legend>مشخصات کاربر</legend>
            
                <div class="editor-label">شماره کاربری</div>
                <div class="editor-field">
                    <input class = "validate[required,custom[farsinumber]] farsinumber" id = "user_id" name = "user_id" />
                </div>
            
                <div class="editor-label">نام کاربری</div>
                <div class="editor-field">
                    <input class = "validate[required]" id = "username" name = "username" />
                </div>
            
                <div class="editor-label">رمز عبور</div>
                <div class="editor-field">
                    <input class = "validate[required]" id = "pass" name = "pass" type = "password" />
                </div>
            
                <div class="editor-label">شماره نقش</div>
                <div class="editor-field">
                    <input class = "validate[required,custom[farsinumber]] farsinumber" id = "role_id" name = "role_id" />
                </div>
            
                <div class="editor-label">پست الکترونیکی</div>
                <div class="editor-field">
                    <input class = "validate[required,custom[email]]" id = "email" name = "email" />
                </div>

                <div class="editor-label">نام</div>
                <div class="editor-field">
                    <input class = "validate[required]" id = "first_name" name = "first_name" />
                </div>
            
                <div class="editor-label">نام خانوادگی</div>
                <div class="editor-field">
                    <input class = "validate[required]" id = "last_name" name = "last_name" />
                </div>
            
                <div class="editor-label">سال ورود</div>
                <div class="editor-field">
                    <input class = "validate[required]" id = "entrance_year" name = "entrance_year" />
                </div>
            
                <p>
                    <input type="submit" value="ثبت" />
                </p>
            </fieldset>
        </form>
    </div>
</asp:Content>

